package com.itqf.Service.Shippingaddress.Impl;

import com.itqf.Dao.ShippingaddressMapper;
import com.itqf.Service.Shippingaddress.ShippingaddressService;
import com.itqf.entity.Shippingaddress;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ShippingaddressServiceimpl implements ShippingaddressService {
    @Resource
    private ShippingaddressMapper shippingaddressMapper;

    @Override
    public Shippingaddress selectByPrimaryKey(Integer shippingid) {
        return shippingaddressMapper.selectByPrimaryKey(shippingid);
    }

    @Override
    public List<Shippingaddress> findaddress(String userid) {
      List<Shippingaddress> list=shippingaddressMapper.findaddress(userid);
      return list;
    }
}
